<template>
	<p-table :thead-list="theadList" :tbody-list="tbodyList" :thStyle="{fontWeight:700,color:'red',padding:'20rpx'}" :tdStyle="{color:'red',padding:'20rpx'}" />
</template>
<script>
	export default {
		data() {
			return {
				theadList: [
					[{text:'表头',width:'40%',colspan:2},{text:'表头1'},{text:'表头2'}]
				],
				tbodyList: [
					[{text:'表内容1',rowspan:2},{text:'表内容1'},{text:'表内容1'}],
					[{text:'表内容2'},{text:'表内容'},{text:'表内容'}],
					[{text:'表内容3'},{text:'表内容'},{text:'表内容'}]
				]
			}
		},
		onLoad() {
			setTimeout(()=>{
				// this.theadList = [
				// 	[{text:'表头',width:'40%',colspan:2},{text:'表头11'},{text:'表头22'}],
				// ]
			},2000)
		}
	}
</script>
